package dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class CandidateDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	private int id;
	private String email;
	private String firstName;
	private String lastName;
	private String link;
	
	/*
	 * Contains the interview ids.
	 * List can be replaced by a list of InterviewDTO
	 */
	private List<Integer> interviews;
	
	public CandidateDTO() {
		this.id = -1;
		this.email = "";
		this.firstName = "";
		this.lastName = "";
		this.link = "";
		this.interviews = new ArrayList<Integer>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public List<Integer> getInterviews() {
		return interviews;
	}

	public void setInterviews(List<Integer> interviews) {
		this.interviews = interviews;
	}
}
